Skip to content

Comments

Add OTEL exporter example (Confident/Langfuse)#136

Closed
christso wants to merge 1 commit intomainfrom
example/otel-export
Closed

Add OTEL exporter example (Confident/Langfuse)#136
christso wants to merge 1 commit intomainfrom
example/otel-export

Conversation

@christso
Copy link
Collaborator

@christso christso commented Jan 9, 2026

Adds a standalone example that exports AgentV JSONL results to OTLP/HTTP traces for observability backends.

What's included:

  • New example: examples/features/otel-export
  • Export script: bun run export --in <results.jsonl> [--backend confident|langfuse]
  • Backend support:
    • Confident AI via x-confident-api-key
    • Langfuse via OTLP /api/public/otel + Basic Auth
  • Safe-by-default payload: only minimal metadata (eval_id/dataset/target/score/trace_summary), no prompts or tool I/O

Why:

  • Keeps telemetry export out of AgentV core (consumer-side), while still enabling Confident/Langfuse ingestion using standard OpenTelemetry exporters.

@christso
Copy link
Collaborator Author

Superseded by #277 (feat: OpenTelemetry trace export). This PR's OTel-native approach was the right call — #277 promotes it from a standalone example to a built-in --export-otel CLI flag with backend presets for Langfuse, Braintrust, and Confident AI.

@christso christso closed this Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant